home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-10-09 | 4.6 KB | [ TEXT/R*ch]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Wed Oct 9 16:52:58 2002, modified Wed Oct 9 16:52:58 2002, creator BBEdit, type ASCII, 4140 bytes "OLE Read Me" , at 0x10ac 382 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ R*ch]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 0b 4f 4c 45 20 52 65 | 61 64 20 4d 65 00 00 00 |..OLE Re|ad Me...| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 52 2a 63 | 68 01 00 00 00 00 00 00 |.TEXTR*c|h.......| |00000050| 00 00 00 00 00 10 2c 00 | 00 01 7e b9 ca 47 aa b9 |......,.|..~..G..| |00000060| ca 47 aa 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.G......|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 13 bf 00 00 |........|........| |00000080| 4f 4c 45 4f 62 6a 65 63 | 74 20 63 6c 61 73 73 3a |OLEObjec|t class:| |00000090| 20 74 68 69 73 20 63 6c | 61 73 73 20 69 73 20 75 | this cl|ass is u| |000000a0| 73 65 64 20 74 6f 20 61 | 75 74 6f 6d 61 74 65 20 |sed to a|utomate | |000000b0| 43 4f 4d 20 73 65 72 76 | 65 72 73 2e 0d 20 20 20 |COM serv|ers.. | |000000c0| 20 49 74 20 68 61 73 20 | 74 68 65 20 66 6f 6c 6c | It has |the foll| |000000d0| 6f 77 69 6e 67 20 63 6f | 6e 73 74 72 75 63 74 6f |owing co|nstructo| |000000e0| 72 73 3a 0d 20 20 20 20 | 20 20 20 20 4f 4c 45 4f |rs:. | OLEO| |000000f0| 62 6a 65 63 74 28 70 72 | 6f 67 72 61 6d 49 44 20 |bject(pr|ogramID | |00000100| 61 73 20 73 74 72 69 6e | 67 29 20 2d 2d 20 74 61 |as strin|g) -- ta| |00000110| 6b 65 73 20 61 20 70 72 | 6f 67 72 61 6d 49 44 20 |kes a pr|ogramID | |00000120| 70 61 72 61 6d 65 74 65 | 72 2c 20 74 68 69 73 20 |paramete|r, this | |00000130| 69 73 20 74 68 65 20 43 | 4f 4d 20 73 65 72 76 65 |is the C|OM serve| |00000140| 72 27 73 20 70 72 6f 67 | 72 61 6d 20 49 44 20 61 |r's prog|ram ID a| |00000150| 73 20 73 74 6f 72 65 64 | 0d 20 20 20 20 20 20 20 |s stored|. | |00000160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000170| 20 20 20 20 20 69 6e 20 | 74 68 65 20 72 65 67 69 | in |the regi| |00000180| 73 74 72 79 2e 20 20 49 | 74 20 63 61 6e 20 61 6c |stry. I|t can al| |00000190| 73 6f 20 62 65 20 74 68 | 65 20 43 6c 61 73 73 20 |so be th|e Class | |000001a0| 49 44 20 28 69 6e 63 6c | 75 64 65 20 63 75 72 6c |ID (incl|ude curl| |000001b0| 79 20 62 72 61 63 65 73 | 29 2e 20 20 54 68 69 73 |y braces|). This| |000001c0| 20 63 6f 6e 73 74 72 75 | 63 74 6f 72 0d 20 20 20 | constru|ctor. | |000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000001e0| 20 20 20 20 20 20 20 20 | 20 77 69 6c 6c 20 74 72 | | will tr| |000001f0| 79 20 74 6f 20 66 69 6e | 64 20 61 20 70 72 65 76 |y to fin|d a prev| |00000200| 69 6f 75 73 20 69 6e 73 | 74 61 6e 63 65 20 6f 66 |ious ins|tance of| |00000210| 20 74 68 65 20 43 4f 4d | 20 73 65 72 76 65 72 20 | the COM| server | |00000220| 69 66 20 69 74 27 73 20 | 72 75 6e 6e 69 6e 67 2c |if it's |running,| |00000230| 20 6f 74 68 65 72 77 69 | 73 65 20 69 74 27 6c 6c | otherwi|se it'll| |00000240| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | | |00000250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 72 65 | | cre| |00000260| 61 74 65 20 61 20 6e 65 | 77 20 69 6e 73 74 61 6e |ate a ne|w instan| |00000270| 63 65 2e 0d 20 20 20 20 | 20 20 20 20 4f 4c 45 4f |ce.. | OLEO| |00000280| 62 6a 65 63 74 28 70 72 | 6f 67 72 61 6d 49 44 20 |bject(pr|ogramID | |00000290| 61 73 20 73 74 72 69 6e | 67 2c 20 6e 65 77 49 6e |as strin|g, newIn| |000002a0| 73 74 61 6e 63 65 20 61 | 73 20 42 6f 6f 6c 65 61 |stance a|s Boolea| |000002b0| 6e 29 20 2d 2d 20 74 68 | 65 20 66 69 72 73 74 20 |n) -- th|e first | |000002c0| 70 61 72 61 6d 65 74 65 | 72 20 69 73 20 74 68 65 |paramete|r is the| |000002d0| 20 73 61 6d 65 20 61 73 | 20 74 68 65 20 61 62 6f | same as| the abo| |000002e0| 76 65 2c 20 74 68 65 20 | 73 65 63 6f 6e 64 0d 20 |ve, the |second. | |000002f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000300| 20 20 20 20 20 20 20 20 | 20 20 20 70 61 72 61 6d | | param| |00000310| 65 74 65 72 20 73 70 65 | 63 69 66 69 65 73 20 77 |eter spe|cifies w| |00000320| 68 65 74 68 65 72 20 6f | 72 20 6e 6f 74 20 74 6f |hether o|r not to| |00000330| 20 63 72 65 61 74 65 20 | 61 20 6e 65 77 20 69 6e | create |a new in| |00000340| 73 74 61 6e 63 65 20 6f | 66 20 74 68 65 20 43 4f |stance o|f the CO| |00000350| 4d 20 73 65 72 76 65 72 | 2c 20 6f 72 20 75 73 65 |M server|, or use| |00000360| 20 61 6e 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 | an. | | |00000370| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000380| 65 78 69 73 74 69 6e 67 | 20 6f 6e 65 20 69 66 20 |existing| one if | |00000390| 69 74 27 73 20 72 75 6e | 6e 69 6e 67 2e 0d 20 20 |it's run|ning.. | |000003a0| 20 20 49 74 20 68 61 73 | 20 74 68 65 20 66 6f 6c | It has| the fol| |000003b0| 6c 6f 77 69 6e 67 20 6d | 65 74 68 6f 64 73 3a 0d |lowing m|ethods:.| |000003c0| 20 20 20 20 20 20 20 20 | 49 6e 76 6f 6b 65 28 6e | |Invoke(n| |000003d0| 61 6d 65 4f 66 46 75 6e | 63 74 69 6f 6e 20 61 73 |ameOfFun|ction as| |000003e0| 20 73 74 72 69 6e 67 29 | 20 61 73 20 76 61 72 69 | string)| as vari| |000003f0| 61 6e 74 20 2d 2d 20 69 | 6e 76 6f 6b 65 73 20 61 |ant -- i|nvokes a| |00000400| 20 6d 65 74 68 6f 64 20 | 6f 66 20 74 68 65 20 43 | method |of the C| |00000410| 4f 4d 20 73 65 72 76 65 | 72 2e 0d 20 20 20 20 20 |OM serve|r.. | |00000420| 20 20 20 49 6e 76 6f 6b | 65 28 6e 61 6d 65 4f 66 | Invok|e(nameOf| |00000430| 46 75 6e 63 74 69 6f 6e | 20 61 73 20 73 74 72 69 |Function| as stri| |00000440| 6e 67 2c 20 70 61 72 61 | 6d 65 74 65 72 73 28 29 |ng, para|meters()| |00000450| 20 61 73 20 76 61 72 69 | 61 6e 74 29 20 61 73 20 | as vari|ant) as | |00000460| 76 61 72 69 61 6e 74 20 | 2d 2d 20 69 6e 76 6f 6b |variant |-- invok| |00000470| 65 73 20 61 20 6d 65 74 | 68 6f 64 20 6f 66 20 74 |es a met|hod of t| |00000480| 68 65 20 43 4f 4d 20 73 | 65 72 76 65 72 2c 20 77 |he COM s|erver, w| |00000490| 69 74 68 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ith. | | |000004a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000004b0| 70 61 72 61 6d 65 74 65 | 72 73 2e 20 20 4d 61 6b |paramete|rs. Mak| |000004c0| 65 20 73 75 72 65 20 74 | 6f 20 63 6f 72 72 65 63 |e sure t|o correc| |000004d0| 74 6c 79 20 64 69 6d 65 | 6e 73 69 6f 6e 20 74 68 |tly dime|nsion th| |000004e0| 65 20 61 72 72 61 79 2c | 20 61 73 20 74 68 69 73 |e array,| as this| |000004f0| 20 77 69 6c 6c 20 64 65 | 74 65 72 6d 69 6e 65 20 | will de|termine | |00000500| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 70 61 |the numb|er of pa| |00000510| 72 61 6d 65 74 65 72 73 | 0d 20 20 20 20 20 20 20 |rameters|. | |00000520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000530| 20 20 20 20 20 74 68 61 | 74 20 67 65 74 20 70 61 | tha|t get pa| |00000540| 73 73 65 64 20 74 6f 20 | 74 68 65 20 66 75 6e 63 |ssed to |the func| |00000550| 74 69 6f 6e 2e 20 20 54 | 68 65 20 66 69 72 73 74 |tion. T|he first| |00000560| 20 70 61 72 61 6d 65 74 | 65 72 20 62 65 67 69 6e | paramet|er begin| |00000570| 73 20 61 74 20 31 2e 0d | 20 20 20 20 20 20 20 20 |s at 1..| | |00000580| 50 72 6f 70 65 72 74 79 | 28 70 72 6f 70 65 72 74 |Property|(propert| |00000590| 79 4e 61 6d 65 20 61 73 | 20 73 74 72 69 6e 67 29 |yName as| string)| |000005a0| 20 61 73 20 76 61 72 69 | 61 6e 74 20 2d 2d 20 75 | as vari|ant -- u| |000005b0| 73 65 64 20 74 6f 20 67 | 65 74 20 6f 72 20 73 65 |sed to g|et or se| |000005c0| 74 20 61 20 70 72 6f 70 | 65 72 74 79 20 6f 66 20 |t a prop|erty of | |000005d0| 74 68 65 20 6f 62 6a 65 | 63 74 2e 0d 20 20 20 20 |the obje|ct.. | |000005e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |000005f0| 20 20 20 20 20 20 20 20 | 54 68 65 20 70 61 72 61 | |The para| |00000600| 6d 65 74 65 72 20 69 73 | 20 74 68 65 20 6e 61 6d |meter is| the nam| |00000610| 65 20 6f 66 20 74 68 65 | 20 70 72 6f 70 65 72 74 |e of the| propert| |00000620| 79 20 74 6f 20 61 73 73 | 69 67 6e 20 61 20 6e 65 |y to ass|ign a ne| |00000630| 77 20 76 61 6c 75 65 20 | 74 6f 2e 0d 20 20 20 20 |w value |to.. | |00000640| 49 74 20 61 6c 73 6f 20 | 74 68 72 6f 77 73 20 61 |It also |throws a| |00000650| 6e 20 4f 4c 45 45 78 63 | 65 70 74 69 6f 6e 20 65 |n OLEExc|eption e| |00000660| 72 72 6f 72 2c 20 63 68 | 65 63 6b 20 74 68 65 20 |rror, ch|eck the | |00000670| 6d 65 73 73 61 67 65 20 | 70 72 6f 70 65 72 74 79 |message |property| |00000680| 20 66 6f 72 20 64 65 74 | 61 69 6c 73 20 6f 6e 20 | for det|ails on | |00000690| 74 68 65 20 65 78 63 65 | 70 74 69 6f 6e 2e 0d 20 |the exce|ption.. | |000006a0| 20 20 20 45 78 61 6d 70 | 6c 65 3a 0d 20 20 20 20 | Examp|le:. | |000006b0| 20 20 20 20 2f 2f 20 41 | 75 74 6f 6d 61 74 69 6e | // A|utomatin| |000006c0| 67 20 49 6e 74 65 72 6e | 65 74 20 45 78 70 6c 6f |g Intern|et Explo| |000006d0| 72 65 72 0d 20 20 20 20 | 20 20 20 20 64 69 6d 20 |rer. | dim | |000006e0| 6f 62 6a 20 61 73 20 6f | 6c 65 6f 62 6a 65 63 74 |obj as o|leobject| |000006f0| 0d 20 20 20 20 20 20 20 | 20 64 69 6d 20 76 20 61 |. | dim v a| |00000700| 73 20 76 61 72 69 61 6e | 74 0d 20 20 20 20 20 20 |s varian|t. | |00000710| 20 20 64 69 6d 20 70 61 | 72 61 6d 73 28 31 29 20 | dim pa|rams(1) | |00000720| 61 73 20 76 61 72 69 61 | 6e 74 0d 0d 20 20 20 20 |as varia|nt.. | |00000730| 20 20 20 20 2f 2f 20 49 | 6e 74 65 72 6e 65 74 45 | // I|nternetE| |00000740| 78 70 6c 6f 72 65 72 2e | 41 70 70 6c 69 63 61 74 |xplorer.|Applicat| |00000750| 69 6f 6e 20 69 73 20 74 | 68 65 20 70 72 6f 67 72 |ion is t|he progr| |00000760| 61 6d 20 49 44 2c 0d 20 | 20 20 20 20 20 20 20 2f |am ID,. | /| |00000770| 2f 20 74 68 65 20 63 6c | 61 73 73 20 49 44 20 69 |/ the cl|ass ID i| |00000780| 73 20 7b 30 30 30 32 44 | 46 30 31 2d 30 30 30 30 |s {0002D|F01-0000| |00000790| 2d 30 30 30 30 2d 43 30 | 30 30 2d 30 30 30 30 30 |-0000-C0|00-00000| |000007a0| 30 30 30 30 30 34 36 7d | 0d 20 20 20 20 20 20 20 |0000046}|. | |000007b0| 20 2f 2f 20 52 42 20 77 | 69 6c 6c 20 61 63 63 65 | // RB w|ill acce| |000007c0| 70 74 20 65 69 74 68 65 | 72 20 66 6f 72 6d 61 74 |pt eithe|r format| |000007d0| 0d 20 20 20 20 20 20 20 | 20 2f 2f 6f 62 6a 20 3d |. | //obj =| |000007e0| 20 6e 65 77 20 6f 6c 65 | 4f 62 6a 65 63 74 28 22 | new ole|Object("| |000007f0| 7b 30 30 30 32 44 46 30 | 31 2d 30 30 30 30 2d 30 |{0002DF0|1-0000-0| |00000800| 30 30 30 2d 43 30 30 30 | 2d 30 30 30 30 30 30 30 |000-C000|-0000000| |00000810| 30 30 30 34 36 7d 22 2c | 20 74 72 75 65 29 0d 20 |00046}",| true). | |00000820| 20 20 20 20 20 20 20 6f | 62 6a 20 3d 20 6e 65 77 | o|bj = new| |00000830| 20 6f 6c 65 4f 62 6a 65 | 63 74 28 22 49 6e 74 65 | oleObje|ct("Inte| |00000840| 72 6e 65 74 45 78 70 6c | 6f 72 65 72 2e 41 70 70 |rnetExpl|orer.App| |00000850| 6c 69 63 61 74 69 6f 6e | 22 2c 20 74 72 75 65 29 |lication|", true)| |00000860| 0d 20 20 20 20 20 20 20 | 20 6f 62 6a 2e 70 72 6f |. | obj.pro| |00000870| 70 65 72 74 79 28 22 56 | 69 73 69 62 6c 65 22 29 |perty("V|isible")| |00000880| 20 3d 20 74 72 75 65 0d | 20 20 20 20 20 20 20 20 | = true.| | |00000890| 70 61 72 61 6d 73 28 31 | 29 20 3d 20 22 68 74 74 |params(1|) = "htt| |000008a0| 70 3a 2f 2f 77 77 77 2e | 72 65 61 6c 73 6f 66 74 |p://www.|realsoft| |000008b0| 77 61 72 65 2e 63 6f 6d | 2f 22 0d 20 20 20 20 20 |ware.com|/". | |000008c0| 20 20 20 76 20 3d 20 6f | 62 6a 2e 69 6e 76 6f 6b | v = o|bj.invok| |000008d0| 65 28 22 4e 61 76 69 67 | 61 74 65 22 2c 20 70 61 |e("Navig|ate", pa| |000008e0| 72 61 6d 73 29 0d 20 20 | 20 20 20 20 20 20 76 20 |rams). | v | |000008f0| 3d 20 6f 62 6a 2e 69 6e | 76 6f 6b 65 28 22 74 68 |= obj.in|voke("th| |00000900| 69 73 5f 77 69 6c 6c 5f | 74 68 72 6f 77 5f 61 6e |is_will_|throw_an| |00000910| 5f 65 78 63 65 70 74 69 | 6f 6e 22 29 0d 0d 20 20 |_excepti|on").. | |00000920| 20 20 20 20 20 20 65 78 | 63 65 70 74 69 6f 6e 20 | ex|ception | |00000930| 65 72 72 20 61 73 20 6f | 6c 65 65 78 63 65 70 74 |err as o|leexcept| |00000940| 69 6f 6e 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |ion. | | |00000950| 6d 73 67 62 6f 78 20 65 | 72 72 2e 6d 65 73 73 61 |msgbox e|rr.messa| |00000960| 67 65 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 0d |ge. | .| |00000970| 4f 4c 45 43 6f 6e 74 61 | 69 6e 65 72 20 63 6c 61 |OLEConta|iner cla| |00000980| 73 73 3a 20 74 68 69 73 | 20 63 6c 61 73 73 20 69 |ss: this| class i| |00000990| 73 20 61 20 67 65 6e 65 | 72 69 63 20 63 6f 6e 74 |s a gene|ric cont| |000009a0| 61 69 6e 65 72 20 66 6f | 72 20 65 6d 62 65 64 64 |ainer fo|r embedd| |000009b0| 69 6e 67 20 41 63 74 69 | 76 65 58 20 63 6f 6e 74 |ing Acti|veX cont| |000009c0| 72 6f 6c 73 20 28 53 65 | 65 20 4f 4c 45 20 52 65 |rols (Se|e OLE Re| |000009d0| 61 64 20 4d 65 29 0d 20 | 20 20 20 49 74 20 68 61 |ad Me). | It ha| |000009e0| 73 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |s the fo|llowing | |000009f0| 70 72 6f 70 65 72 74 69 | 65 73 3a 0d 20 20 20 20 |properti|es:. | |00000a00| 20 20 20 20 50 72 6f 67 | 72 61 6d 49 44 20 61 73 | Prog|ramID as| |00000a10| 20 73 74 72 69 6e 67 20 | 2d 2d 20 74 68 69 73 20 | string |-- this | |00000a20| 69 73 20 74 68 65 20 41 | 63 74 69 76 65 58 20 63 |is the A|ctiveX c| |00000a30| 6f 6e 74 72 6f 6c 27 73 | 20 70 72 6f 67 72 61 6d |ontrol's| program| |00000a40| 20 49 44 20 61 73 20 73 | 74 6f 72 65 64 20 69 6e | ID as s|tored in| |00000a50| 20 74 68 65 20 72 65 67 | 69 73 74 72 79 2e 0d 20 | the reg|istry.. | |00000a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 49 | | I| |00000a80| 74 20 63 61 6e 20 61 6c | 73 6f 20 62 65 20 74 68 |t can al|so be th| |00000a90| 65 20 47 55 49 44 20 28 | 69 6e 63 6c 75 64 65 20 |e GUID (|include | |00000aa0| 63 75 72 6c 79 20 62 72 | 61 63 65 73 29 2e 0d 20 |curly br|aces).. | |00000ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 45 | | E| |00000ad0| 78 61 6d 70 6c 65 3a 0d | 20 20 20 20 20 20 20 20 |xample:.| | |00000ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 41 64 6f 62 | | Adob| |00000b00| 65 27 73 20 50 44 46 20 | 52 65 61 64 65 72 20 68 |e's PDF |Reader h| |00000b10| 61 73 20 61 20 50 72 6f | 67 72 61 6d 20 49 44 20 |as a Pro|gram ID | |00000b20| 6f 66 20 22 50 44 46 2e | 50 44 46 43 74 72 6c 22 |of "PDF.|PDFCtrl"| |00000b30| 20 61 6e 64 20 61 0d 20 | 20 20 20 20 20 20 20 20 | and a. | | |00000b40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000b50| 20 20 20 20 20 20 20 20 | 20 20 20 47 55 49 44 20 | | GUID | |00000b60| 6f 66 20 22 7b 43 41 38 | 41 39 37 38 30 2d 32 38 |of "{CA8|A9780-28| |00000b70| 30 44 2d 31 31 43 46 2d | 41 32 34 44 2d 34 34 34 |0D-11CF-|A24D-444| |00000b80| 35 35 33 35 34 30 30 30 | 30 7d 22 0d 20 20 20 20 |55354000|0}". | |00000b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000bb0| 52 42 20 73 68 6f 75 6c | 64 20 62 65 20 61 62 6c |RB shoul|d be abl| |00000bc0| 65 20 74 6f 20 61 63 63 | 65 70 74 20 62 6f 74 68 |e to acc|ept both| |00000bd0| 2e 0d 20 20 20 20 20 20 | 20 20 43 6f 6e 74 65 6e |.. | Conten| |00000be0| 74 20 61 73 20 4f 4c 45 | 4f 62 6a 65 63 74 2d 2d |t as OLE|Object--| |00000bf0| 20 74 68 69 73 20 69 73 | 20 4f 4c 45 4f 62 6a 65 | this is| OLEObje| |00000c00| 63 74 20 61 73 73 6f 63 | 69 61 74 65 64 20 77 69 |ct assoc|iated wi| |00000c10| 74 68 20 74 68 65 20 41 | 63 74 69 76 65 58 20 63 |th the A|ctiveX c| |00000c20| 6f 6e 74 72 6f 6c 2c 20 | 79 6f 75 20 75 73 65 20 |ontrol, |you use | |00000c30| 74 68 69 73 20 74 6f 20 | 61 75 74 6f 6d 61 74 65 |this to |automate| |00000c40| 20 74 68 65 20 41 63 74 | 69 76 65 58 20 63 6f 6e | the Act|iveX con| |00000c50| 74 72 6f 6c 2e 0d 20 20 | 20 20 49 74 20 68 61 73 |trol.. | It has| |00000c60| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6d | the fol|lowing m| |00000c70| 65 74 68 6f 64 73 3a 0d | 20 20 20 20 20 20 20 20 |ethods:.| | |00000c80| 43 72 65 61 74 65 20 61 | 73 20 62 6f 6f 6c 65 61 |Create a|s boolea| |00000c90| 6e 20 2d 2d 20 75 73 65 | 20 74 68 69 73 20 6d 65 |n -- use| this me| |00000ca0| 74 68 6f 64 20 74 6f 20 | 6d 61 6e 75 61 6c 6c 79 |thod to |manually| |00000cb0| 20 63 72 65 61 74 65 20 | 61 6e 20 41 63 74 69 76 | create |an Activ| |00000cc0| 65 58 20 63 6f 6e 74 72 | 6f 6c 2c 20 75 73 65 73 |eX contr|ol, uses| |00000cd0| 20 74 68 65 20 50 72 6f | 67 72 61 6d 49 44 20 70 | the Pro|gramID p| |00000ce0| 72 6f 70 65 72 74 79 20 | 74 6f 0d 20 20 20 20 20 |roperty |to. | |00000cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c| |00000d00| 72 65 61 74 65 20 74 68 | 65 20 41 63 74 69 76 65 |reate th|e Active| |00000d10| 58 20 63 6f 6e 74 72 6f | 6c 2e 20 20 52 65 74 75 |X contro|l. Retu| |00000d20| 72 6e 73 20 74 72 75 65 | 20 6f 6e 20 73 75 63 63 |rns true| on succ| |00000d30| 65 73 73 2c 20 66 61 6c | 73 65 20 6f 74 68 65 72 |ess, fal|se other| |00000d40| 77 69 73 65 2e 0d 20 20 | 20 20 20 20 20 20 44 65 |wise.. | De| |00000d50| 73 74 72 6f 79 20 2d 2d | 20 75 73 65 20 74 68 69 |stroy --| use thi| |00000d60| 73 20 6d 65 74 68 6f 64 | 20 74 6f 20 64 65 73 74 |s method| to dest| |00000d70| 72 6f 79 20 74 68 65 20 | 63 75 72 72 65 6e 74 6c |roy the |currentl| |00000d80| 79 20 65 6d 62 65 64 64 | 65 64 20 41 63 74 69 76 |y embedd|ed Activ| |00000d90| 65 58 20 63 6f 6e 74 72 | 6f 6c 2c 20 73 6f 20 79 |eX contr|ol, so y| |00000da0| 6f 75 20 63 61 6e 20 72 | 65 75 73 65 20 79 6f 75 |ou can r|euse you| |00000db0| 72 20 63 6f 6e 74 61 69 | 6e 65 72 2e 0d 20 20 20 |r contai|ner.. | |00000dc0| 20 20 20 20 20 53 68 6f | 77 50 72 6f 70 65 72 74 | Sho|wPropert| |00000dd0| 79 50 61 67 65 73 20 2d | 2d 20 75 73 65 20 74 68 |yPages -|- use th| |00000de0| 69 73 20 6d 65 74 68 6f | 64 20 74 6f 20 64 69 73 |is metho|d to dis| |00000df0| 70 6c 61 79 20 74 68 65 | 20 41 63 74 69 76 65 58 |play the| ActiveX| |00000e00| 20 63 6f 6e 74 72 6f 6c | 27 73 20 70 72 6f 70 65 | control|'s prope| |00000e10| 72 74 79 20 70 61 67 65 | 73 2c 20 69 66 20 61 6e |rty page|s, if an| |00000e20| 79 2e 20 20 4e 6f 74 20 | 61 6c 6c 20 41 63 74 69 |y. Not |all Acti| |00000e30| 76 65 58 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |veX. | | |00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000e50| 63 6f 6e 74 72 6f 6c 73 | 20 73 75 70 70 6f 72 74 |controls| support| |00000e60| 20 70 72 6f 70 65 72 74 | 79 20 70 61 67 65 73 2e | propert|y pages.| |00000e70| 0d 20 20 20 20 49 74 20 | 68 61 73 20 74 68 65 20 |. It |has the | |00000e80| 66 6f 6c 6c 6f 77 69 6e | 67 20 65 76 65 6e 74 73 |followin|g events| |00000e90| 3a 0d 20 20 20 20 20 20 | 20 20 45 76 65 6e 74 54 |:. | EventT| |00000ea0| 72 69 67 67 65 72 65 64 | 28 6e 61 6d 65 4f 66 45 |riggered|(nameOfE| |00000eb0| 76 65 6e 74 20 61 73 20 | 73 74 72 69 6e 67 2c 20 |vent as |string, | |00000ec0| 70 61 72 61 6d 65 74 65 | 72 73 28 29 20 61 73 20 |paramete|rs() as | |00000ed0| 76 61 72 69 61 6e 74 29 | 20 2d 2d 20 74 68 69 73 |variant)| -- this| |00000ee0| 20 65 76 65 6e 74 20 69 | 73 20 66 69 72 65 64 20 | event i|s fired | |00000ef0| 77 68 65 6e 20 74 68 65 | 20 41 63 74 69 76 65 58 |when the| ActiveX| |00000f00| 20 63 6f 6e 74 72 6f 6c | 0d 20 20 20 20 20 20 20 | control|. | |00000f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 72 65 63 | | rec| |00000f20| 65 69 76 65 73 20 61 6e | 20 65 76 65 6e 74 20 66 |eives an| event f| |00000f30| 72 6f 6d 20 74 68 65 20 | 75 73 65 72 2e 20 20 54 |rom the |user. T| |00000f40| 68 65 20 65 76 65 6e 74 | 20 6e 61 6d 65 20 69 73 |he event| name is| |00000f50| 20 70 61 73 73 65 64 20 | 61 73 20 74 68 65 20 66 | passed |as the f| |00000f60| 69 72 73 74 20 70 61 72 | 61 6d 65 74 65 72 20 73 |irst par|ameter s| |00000f70| 70 65 63 69 66 79 69 6e | 67 20 77 68 61 74 0d 20 |pecifyin|g what. | |00000f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | | |00000f90| 20 20 20 65 76 65 6e 74 | 20 6f 63 63 75 72 72 65 | event| occurre| |00000fa0| 64 2e 20 20 54 68 65 20 | 73 65 63 6f 6e 64 20 70 |d. The |second p| |00000fb0| 61 72 61 6d 65 74 65 72 | 20 69 73 20 74 68 65 20 |arameter| is the | |00000fc0| 70 61 72 61 6d 65 74 65 | 72 73 20 66 6f 72 20 74 |paramete|rs for t| |00000fd0| 68 69 73 20 65 76 65 6e | 74 2c 20 70 61 73 73 65 |his even|t, passe| |00000fe0| 64 20 69 6e 20 61 73 20 | 61 6e 20 61 72 72 61 79 |d in as |an array| |00000ff0| 20 6f 66 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 | of. | | |00001000| 20 20 20 20 20 20 20 20 | 76 61 72 69 61 6e 74 73 | |variants| |00001010| 2e 20 20 54 68 65 20 75 | 73 65 72 20 73 68 6f 75 |. The u|ser shou| |00001020| 6c 64 20 63 68 65 63 6b | 20 74 68 65 20 55 42 6f |ld check| the UBo| |00001030| 75 6e 64 20 6f 66 20 74 | 68 65 20 70 61 72 61 6d |und of t|he param| |00001040| 65 74 65 72 73 20 6c 69 | 73 74 2e 0d 20 20 20 20 |eters li|st.. | |00001050| 20 20 20 20 53 68 6f 77 | 4f 62 6a 65 63 74 20 2d | Show|Object -| |00001060| 2d 20 74 68 69 73 20 65 | 76 65 6e 74 20 69 73 20 |- this e|vent is | |00001070| 74 72 69 67 67 65 72 65 | 64 20 77 68 65 6e 20 74 |triggere|d when t| |00001080| 68 65 20 41 63 74 69 76 | 65 58 20 63 6f 6e 74 72 |he Activ|eX contr| |00001090| 6f 6c 20 69 73 20 72 65 | 61 64 79 20 74 6f 20 62 |ol is re|ady to b| |000010a0| 65 20 64 69 73 70 6c 61 | 79 65 64 2e 00 00 00 00 |e displa|yed.....| |000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001100| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2| |00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001200| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....| |00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001220| 00 00 00 00 00 00 00 06 | 00 04 00 44 00 6c 02 f9 |........|...D.l..| |00001230| 03 4c 00 44 00 6c 02 f9 | 03 4c b9 ca 0f 6a 00 00 |.L.D.l..|.L...j..| |00001240| 00 00 00 00 00 00 00 00 | 00 00 01 01 00 00 01 00 |........|........| |00001250| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 0e 80 84 |...L...L|...2....| |00001260| 02 5a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.Z.....2|..MPSR..| |00001270| 00 0a 03 ed ff ff 00 00 | 00 00 01 ae a9 c4 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+